package com.zhonghui.procurement.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 测评任务对象 evaluation_task
 *
 * @author zhonghui
 * @date 2023-12-09
 */
public class ProcurementEvaluationTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务id */
    private Long id;

    /** 模板id */
    @Excel(name = "模板id")
    private Long templateId;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;
    private String templateName;
    private String securityLevels;
    private String bStatus;

    private List<ProcurementExerciseLibrary> exerciseLibraryList;

    @Override
    public String toString() {
        return "EvaluationTask{" +
                "id=" + id +
                ", templateId=" + templateId +
                ", state=" + state +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", templateName='" + templateName + '\'' +
                ", securityLevels='" + securityLevels + '\'' +
                ", bStatus='" + bStatus + '\'' +
                ", exerciseLibraryList=" + exerciseLibraryList +
                '}';
    }

    public List<ProcurementExerciseLibrary> getExerciseLibraryList() {
        return exerciseLibraryList;
    }

    public void setExerciseLibraryList(List<ProcurementExerciseLibrary> exerciseLibraryList) {
        this.exerciseLibraryList = exerciseLibraryList;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getSecurityLevels() {
        return securityLevels;
    }

    public void setSecurityLevels(String securityLevels) {
        this.securityLevels = securityLevels;
    }

    public String getbStatus() {
        return bStatus;
    }

    public void setbStatus(String bStatus) {
        this.bStatus = bStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTemplateId(Long templateId)
    {
        this.templateId = templateId;
    }

    public Long getTemplateId()
    {
        return templateId;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

}
